package com.lin.reggie.service;

import com.lin.reggie.Dto.DishDto;
import com.lin.reggie.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜品管理 服务类
 * </p>
 *
 * @author lin
 * @since 2022-05-26
 */
public interface DishService extends IService<Dish> {

    public void saveWithFlavor(DishDto dishDto);

    //根据id查询菜品和菜品的口味信息
    public DishDto getByIdWithFlavor(Long id);

    public void updateWithFlavor(DishDto dishDto);

    public void removewithFlavors(List<Long> id);
}
